You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A production-ready containerized web application built with Flask, Nginx, and PostgreSQL —
secured with a DevSecOps pipeline featuring automated vulnerability scanning, secret detection,
SAST, and dependency auditing on every commit.
Every push to main runs a 7-stage security-gated pipeline. A failure at any stage blocks deployment.
test → secret-scan → sast → dependency-scan → build-and-push → image-scan → deploy
git clone https://github.com/Jaykol/dockerized-app.git
cd dockerized-app
Set up environment variables:
cp .env.example .env
# Edit .env and set a strong DB_PASSWORD
Build and run:
docker compose up --build
Test the API:
# Health check
curl http://localhost/health
# Create a task
curl -X POST http://localhost/tasks \
-H "Content-Type: application/json" \
-d '{"title": "My first task"}'# Get all tasks
curl http://localhost/tasks